package com.example.trans.service;

import com.example.trans.pojo.Account;

/**
 * ClassName:AccountService
 * Package:com.example.trans.service
 * Description:
 *
 * @Author:ZhangXin
 * @Create:2023/5/11-10:39
 * @Version:v1.0
 */
//事务

public interface AccountService {

    //转账业务方法
    void transfer(String fromActno,String toActno,double money);

    //保存账户信息
    void save(Account act);

}
